package com.baidu.echarts;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;

public class Toolbox {
    @JsonProperty(index = 1)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Boolean show;

    @JsonProperty(index = 2)
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private Feature feature;

    public Boolean getShow() {
        return show;
    }

    public Toolbox setShow(Boolean show) {
        this.show = show;
        return  this;
    }

    public Feature getFeature() {
        return feature;
    }

    public Toolbox setFeature(Feature feature) {
        this.feature = feature;
        return this;
    }
    public Feature buildFeature(){
        this.feature = new Feature();
        return this.feature;
    }
}
